<ul>
    @forelse($data['videos'] as $video)
    <li>
        <div class="video">
            <a href="{{$video->generate_link()}}" title="<?= $video->title ?>">
                <span class="video_thumb_grid ux_thumb">
                    <span class="clip">
                        <img src="{{$video->thumbnail_link()}}"/>
                    </span>
                </span>

            </a>
        </div>
        <div class="ct">
            <a href="{{$video->generate_link()}}" class="font14" title="<?= $video->title ?>">
                <?= str_limit($video->title, 20, '...') ?>
            </a>

            <div>
                <span class="font12 color66">bởi:</span>
                <a href="<?= route('thanh-vien', array('id' => $video->userid, 'slug' => Str::slug($video->username))) ?>"
                   class="font12 color55 displayin">
                    <?= $video->username ?>
                </a>
            </div>
            <div>
                <span class="font11 color99">{{$video->views}} lượt xem</span>
                <span class="font11 color99">{{$video->favourites}} lượt thích</span>
            </div>
        </div>
    </li>
    @empty
    @endforelse
</ul>
<div class="box-phantrang">
    <?= $data['videos']->links() ?>
</div>